package com.yxy.web.task;

import cn.hutool.extra.spring.SpringUtil;
import com.yxy.system.mapper.ReportTipLogMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * 数据清理
 */
@Component("cleanTask")
public class CleanTask {


    private static final Logger logger = LoggerFactory.getLogger(CleanTask.class);


    ReportTipLogMapper reportTipLogMapper = SpringUtil.getBean(ReportTipLogMapper.class);

    public void report_tip_log()
    {
        reportTipLogMapper.deleteOutThreeDayDatas();
    }

}
